package com.ruoyi.base.service;

import com.ruoyi.base.domain.BaseAlternateAirport;

import java.util.List;

/**
 * 备降机场信息;Service接口
 * 
 * @author ruoyi
 * @date 2024-07-22
 */
public interface IBaseAlternateAirportService 
{
    /**
     * 查询备降机场信息;
     * 
     * @param ID 备降机场信息;主键
     * @return 备降机场信息;
     */
    public BaseAlternateAirport selectBaseAlternateAirportByID(String ID);

    /**
     * 查询备降机场信息;列表
     * 
     * @param baseAlternateAirport 备降机场信息;
     * @return 备降机场信息;集合
     */
    public List<BaseAlternateAirport> selectBaseAlternateAirportList(BaseAlternateAirport baseAlternateAirport);

    /**
     * 新增备降机场信息;
     * 
     * @param baseAlternateAirport 备降机场信息;
     * @return 结果
     */
    public int insertBaseAlternateAirport(BaseAlternateAirport baseAlternateAirport);

    /**
     * 修改备降机场信息;
     * 
     * @param baseAlternateAirport 备降机场信息;
     * @return 结果
     */
    public int updateBaseAlternateAirport(BaseAlternateAirport baseAlternateAirport);

    /**
     * 批量删除备降机场信息;
     * 
     * @param IDs 需要删除的备降机场信息;主键集合
     * @return 结果
     */
    public int deleteBaseAlternateAirportByIDs(String[] IDs);

    /**
     * 删除备降机场信息;信息
     * 
     * @param ID 备降机场信息;主键
     * @return 结果
     */
    public int deleteBaseAlternateAirportByID(String ID);

    String importMainAirport(List<BaseAlternateAirport> airportList, boolean updateSupport, String operId);
}
